package com.church.services;

import com.church.db.Announcement;
import java.util.List;

public interface AnnouncementServices {
   /**
    * <pre>
    *           1..1     1..*
    * AnnouncementServices ------------------------> Announcement
    *           &lt;       list
    * </pre>
    */
   public List<Announcement> getList() ;
   
   public Announcement getAnnouncementById(int id);
   
   public List<Announcement> getAnnouncementByGroup(String group);
   
   public String add(Announcement announcement);
   
   public String update(Announcement announcement);
   
   public String delete(Announcement announcement);
   
   }
